<template>
  <div>
    <div>Home页面</div>
    <div>{{ data }}</div>
    <NuxtLink to="/">index</NuxtLink>
  </div>
</template>

<script setup lang="ts">
definePageMeta({
  layout: "custom",
});

const { data } = useFetch("/hello");

console.log("home", data);
</script>

<style lang="scss" scoped>
div {
  color: $primary-color;
}
</style>
